package com.mocha.bss.rbac.bo;

import com.coffee.core.ValidGroup;
import lombok.*;

import javax.validation.constraints.NotNull;

@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class RoleFunctionBO {
    /**  是否全选  */
    private Boolean all;

    @NotNull(groups = ValidGroup.Update.class, message = "角色ID不能为空")
    private Integer roleId;

    private String functionCode;
}
